//
//  FamousTeacherTableViewCell.m
//  AndCampus
//
//  Created by 史宵宵 on 2017/12/8.
//  Copyright © 2017年 史宵宵. All rights reserved.
//

#import "FamousTeacherTableViewCell.h"

@implementation FamousTeacherTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (void)setFamousTeacherInfo:(FamousTeacherInfo *)famousTeacherInfo{
    [self.iconImageView sd_setImageWithURL:[NSURL URLWithString:famousTeacherInfo.icon] placeholderImage:KDEFAULTHEAD];
    self.nickName.text = famousTeacherInfo.nick_name;
    self.famousLabel.text = famousTeacherInfo.des;
    
    self.moneyLabel.hidden = YES;
    self.numbersLabel.hidden = YES;
//    self.moneyLabel.text =  ([famousTeacherInfo.money isEqualToString:@"0"] || strIsEmpty(famousTeacherInfo.money))?@"免费": [NSString stringWithFormat:@"¥%.1f元/分钟",[famousTeacherInfo.money doubleValue]];
//    self.numbersLabel.text = [NSString stringWithFormat:@"%@人咨询",famousTeacherInfo.numbers];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
